package com.yuyou.train.service.api.admin.service;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.yuyou.train.service.api.admin.entity.CommDataConfig;





@FeignClient(value = "train-admin-service")
@RequestMapping(value = "/commDataConfigAPI")
public interface CommDataConfigAPI {
	
	@RequestMapping(value = "/findUseByCategory")
	List<CommDataConfig> findUseByCategory(@RequestParam("category") String category);
	
	@RequestMapping(value = "/selectUseByCode")
	CommDataConfig selectUseByCode(@RequestParam("code") String code);
	
	@RequestMapping(value = "/selectById")
	CommDataConfig selectById(@RequestParam("id") String id);
	
}
